package com.flash.DayProcessing.entity;


//收益计提 债券利息
public class BondsInterest {
    private String bondId;//债券ID
    private String bondName;//债券名称
    private String bearingStart;//计息起始日
    private double faceAmount;//票面金额
    private double delayDate;//票面利率
    private int interestTime;//付息次数
    private String fundId;//基金Id
    private String cashId;//银行账号Id
    private String securityId;//证券编号
    private String dateStock;//统计时间
    private int quantity;//数量
    private int fundFlow;//--1为流入，-1为流出
    private double bondInterest;//债券利息
    private double interest;//债券利息
    private String businessTime;//业务日期
    private int businessType;//业务类型


    public BondsInterest(){}

    public BondsInterest(String bondId, String bondName, String bearingStart, double faceAmount, double delayDate, int interestTime, String fundId, String cashId, String securityId, String dateStock, int quantity, int fundFlow, double bondInterest, double interest, int businessType) {
        this.bondId = bondId;
        this.bondName = bondName;
        this.bearingStart = bearingStart;
        this.faceAmount = faceAmount;
        this.delayDate = delayDate;
        this.interestTime = interestTime;
        this.fundId = fundId;
        this.cashId = cashId;
        this.securityId = securityId;
        this.dateStock = dateStock;
        this.quantity = quantity;
        this.fundFlow = fundFlow;
        this.bondInterest = bondInterest;
        this.interest = interest;
        this.businessType = businessType;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public int getBusinessType() {
        return businessType;
    }

    public void setBusinessType(int businessType) {
        this.businessType = businessType;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }



    public int getFundFlow() {
        return fundFlow;
    }

    public void setFundFlow(int fundFlow) {
        this.fundFlow = fundFlow;
    }

    public String getBondId() {
        return bondId;
    }

    public void setBondId(String bondId) {
        this.bondId = bondId;
    }

    public String getBondName() {
        return bondName;
    }

    public void setBondName(String bondName) {
        this.bondName = bondName;
    }

    public String getBearingStart() {
        return bearingStart;
    }

    public void setBearingStart(String bearingStart) {
        this.bearingStart = bearingStart;
    }

    public double getFaceAmount() {
        return faceAmount;
    }

    public void setFaceAmount(double faceAmount) {
        this.faceAmount = faceAmount;
    }

    public double getDelayDate() {
        return delayDate;
    }

    public void setDelayDate(double delayDate) {
        this.delayDate = delayDate;
    }

    public int getInterestTime() {
        return interestTime;
    }

    public void setInterestTime(int interestTime) {
        this.interestTime = interestTime;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getDateStock() {
        return dateStock;
    }

    public void setDateStock(String dateStock) {
        this.dateStock = dateStock;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getBondInterest() {
        return bondInterest;
    }

    public void setBondInterest(double bondInterest) {
        this.bondInterest = bondInterest;
    }

    public double getInterest() {
        return interest;
    }

    public void setInterest(double interest) {
        this.interest = interest;
    }

    @Override
    public String toString() {
        return "BondsInterest{" +
                "bondId='" + bondId + '\'' +
                ", bondName='" + bondName + '\'' +
                ", bearingStart='" + bearingStart + '\'' +
                ", faceAmount=" + faceAmount +
                ", delayDate=" + delayDate +
                ", interestTime=" + interestTime +
                ", fundId='" + fundId + '\'' +
                ", cashId='" + cashId + '\'' +
                ", securityId='" + securityId + '\'' +
                ", dateStock='" + dateStock + '\'' +
                ", quantity=" + quantity +
                ", fundFlow=" + fundFlow +
                ", bondInterest=" + bondInterest +
                ", interest=" + interest +
                ", businessType=" + businessType +
                '}';
    }
}
